/**
 * 发货单管理 接口
 * 
 */
import request from '@/utils/request';
let api = {};
// 发货单列表
api.shippingList = function (data = {}) {
 return request({
   url: "/admin/shipping/index",
   method: "get",
   params: data 
 });
};

//导入发货单
api.import = function (e) {
  let formdata = new FormData();
  formdata.append("file", e.file);
  return request({
    url: "/admin/shipping/import",
    method: "post",
    data: formdata,
  });
};

export default api;
